package pl.register.android.lesson;

import pl.register.android.classes.Classes;
import pl.register.android.homework.Homework;

import java.io.Serializable;
import java.util.List;

/**
 * @author Mateusz Strzelecki
 * @since 2013-04-12
 */
public class Lesson implements Serializable {

    private Long id;

    private List<Classes> classes;

    private Homework homework;

    private String classesDateString;

    private String homeworkDateString;

    public Lesson() {
    }

    public Lesson(Long id, List<Classes> classes, Homework homework) {
        this.id = id;
        this.classes = classes;
        this.homework = homework;
    }

    public Lesson(List<Classes> classes, Homework homework) {
        this.id = null;
        this.classes = classes;
        this.homework = homework;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<Classes> getClasses() {
        return classes;
    }

    public void setClasses(List<Classes> classes) {
        this.classes = classes;
    }

    public Homework getHomework() {
        return homework;
    }

    public void setHomework(Homework homework) {
        this.homework = homework;
    }

    public void setClassesDateString(String classesDateString) {
        this.classesDateString = classesDateString;
    }

    public void setHomeworkDateString(String homeworkDateString) {
        this.homeworkDateString = homeworkDateString;
    }

    public String getClassesDateString() {
        return classesDateString;
    }

    public String getHomeworkDateString() {
        return homeworkDateString;
    }
}